home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 February / EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso / enigma / earcd / varie / uae-0_64.lha / uae-0.6.4 / src / Makefile.xf86os2 < prev    next >
Makefile  |  1996-07-23  |  6KB  |  203 lines

  1. # Generated automatically from Makefile.in by configure.
  2. #
  3. # Makefile.in for UAE
  4. #
  5.  
  6. CC        = gcc
  7. CPP       = gcc -E
  8. CFLAGS    = -O3 -fomit-frame-pointer -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -D__inline__=inline -DSTATFS_NO_ARGS=2 -DSTATBUF_BAVAIL=f_bavail -DBROKEN_JOYSTICK_H= -DXF86OS2 -D__unix
  9. X_CFLAGS  =  -I/XFree86/includ -Zmtd
  10. TARGET    = x11
  11. LIBRARIES =  -L/XFree86/li  -lSM -lICE -lXext -lX11  
  12. GFXOBJS   = xwin.o nogui.o
  13. ASMOBJS   = 
  14. #X86.o
  15.  
  16. INSTALL         = @INSTALL@
  17. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  18. INSTALL_DATA    = @INSTALL_DATA@
  19. prefix          = /usr/local
  20. exec_prefix     = ${prefix}
  21. bindir          = ${exec_prefix}/bin
  22. libdir          = ${exec_prefix}/lib
  23. sysconfdir      = ${prefix}/etc
  24.  
  25. .SUFFIXES: .o .c .h .m
  26.  
  27. # If you want to use the AF System to play sound, set theese to the
  28. # correct paths. If not, leave them commented out.
  29. # (Don't forget to define AF_SOUND in config.h)
  30. #AFINCLUDE=-I/usr/local/vol/AudioFile/include
  31. #AFLDFLAGS=-L/usr/local/vol/AudioFile/lib -lAF
  32.  
  33. INCLUDES=-Iinclude
  34.  
  35. OBJS = main.o newcpu.o memory.o debug.o custom.o cia.o disk.o blitter.o $(GFXOBJS) \
  36.        autoconf.o os.o ersatz.o filesys.o hardfile.o keybuf.o expansion.o zfile.o \
  37.        readcpu.o cpudefs.o gfxutil.o gfxlib.o blitfunc.o blittable.o $(ASMOBJS) \
  38.        cpu0.o cpu1.o cpu2.o cpu3.o cpu4.o cpu5.o cpu6.o cpu7.o \
  39.        cpu8.o cpu9.o cpuA.o cpuB.o cpuC.o cpuD.o cpuE.o cpuF.o cpustbl.o
  40.        
  41. all: include/sysconfig.h $(TARGET)
  42.  
  43. include/sysconfig.h: include/sysconfig.h.xf86os2
  44.     cp include/sysconfig.h.xf86os2 include/sysconfig.h
  45.  
  46. x11: progs
  47.  
  48. progs: uae readdisk
  49.  
  50. install:
  51.  
  52. readdisk: readdisk.o
  53.     $(CC) readdisk.o -o readdisk $(LDFLAGS) $(DEBUGFLAGS) -Zmtd -Zexe
  54.  
  55. uae: $(OBJS)
  56.     $(CC) $(OBJS) -o uae $(GFXLDFLAGS) $(AFLDFLAGS) $(LDFLAGS) $(DEBUGFLAGS) $(LIBRARIES) -Zmtd -Zexe
  57.  
  58. clean:
  59.     -rm -f *.o uae readdisk
  60.     -rm -f gencpu genblitter build68k cpudefs.c
  61.     -rm -f cpu?.c blit.h
  62.     -rm -f cputbl.h cpustbl.c
  63.     -rm -f blitfunc.c blitfunc.h blittable.c
  64.  
  65. halfclean:
  66.     -rm -f $(OBJS) $(GFXOBJS)
  67.  
  68. streifenfrei: clean
  69.     -rm -f Makefile config.cache config.log config.status
  70.  
  71. blit.h: genblitter
  72.     genblitter i >blit.h
  73. blitfunc.c: genblitter blitfunc.h
  74.     genblitter f >blitfunc.c
  75. blitfunc.h: genblitter
  76.     genblitter h >blitfunc.h
  77. blittable.c: genblitter blitfunc.h
  78.     genblitter t >blittable.c
  79.  
  80. genblitter: genblitter.o
  81.     $(CC) $(LDFLAGS) -o $@ $? -Zmtd -Zexe
  82. build68k: build68k.o
  83.     $(CC) $(LDFLAGS) -o $@ $? -Zmtd -Zexe
  84. gencpu: gencpu.o readcpu.o cpudefs.o
  85.     $(CC) $(LDFLAGS) -o $@ gencpu.o readcpu.o cpudefs.o -Zmtd -Zexe
  86.  
  87. custom.o: blit.h
  88.  
  89. cpudefs.c: build68k table68k
  90.     build68k >cpudefs.c
  91. cpustbl.c: gencpu
  92.     gencpu s >cpustbl.c
  93. cputbl.c: gencpu
  94.     gencpu t >cputbl.c
  95. cputbl.h: gencpu
  96.     gencpu h >cputbl.h
  97.  
  98. cpu0.c: gencpu
  99.     gencpu f 0 >cpu0.c
  100. cpu1.c: gencpu
  101.     gencpu f 1 >cpu1.c
  102. cpu2.c: gencpu
  103.     gencpu f 2 >cpu2.c
  104. cpu3.c: gencpu
  105.     gencpu f 3 >cpu3.c
  106. cpu4.c: gencpu
  107.     gencpu f 4 >cpu4.c
  108. cpu5.c: gencpu
  109.     gencpu f 5 >cpu5.c
  110. cpu6.c: gencpu
  111.     gencpu f 6 >cpu6.c
  112. cpu7.c: gencpu
  113.     gencpu f 7 >cpu7.c
  114. cpu8.c: gencpu
  115.     gencpu f 8 >cpu8.c
  116. cpu9.c: gencpu
  117.     gencpu f 9 >cpu9.c
  118. cpuA.c: gencpu
  119.     gencpu f 10 >cpuA.c
  120. cpuB.c: gencpu
  121.     gencpu f 11 >cpuB.c
  122. cpuC.c: gencpu
  123.     gencpu f 12 >cpuC.c
  124. cpuD.c: gencpu
  125.     gencpu f 13 >cpuD.c
  126. cpuE.c: gencpu
  127.     gencpu f 14 >cpuE.c
  128. cpuF.c: gencpu
  129.     gencpu f 15 >cpuF.c
  130.  
  131. cpu0.o: cpu0.c cputbl.h
  132.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  133. cpu1.o: cpu1.c cputbl.h
  134.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  135. cpu2.o: cpu2.c cputbl.h
  136.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  137. cpu3.o: cpu3.c cputbl.h
  138.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  139. cpu4.o: cpu4.c cputbl.h
  140.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  141. cpu5.o: cpu5.c cputbl.h
  142.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  143. cpu6.o: cpu6.c cputbl.h
  144.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  145. cpu7.o: cpu7.c cputbl.h
  146.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  147. cpu8.o: cpu8.c cputbl.h
  148.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  149. cpu9.o: cpu9.c cputbl.h
  150.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  151. cpuA.o: cpuA.c cputbl.h
  152.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  153. cpuB.o: cpuB.c cputbl.h
  154.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  155. cpuC.o: cpuC.c cputbl.h
  156.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  157. cpuD.o: cpuD.c cputbl.h
  158.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  159. cpuE.o: cpuE.c cputbl.h
  160.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  161. cpuF.o: cpuF.c cputbl.h
  162.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  163.        
  164. bebox.o: bebox.cpp
  165.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) bebox.cpp
  166.  
  167. .m.o:
  168.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.m
  169. .c.o:
  170.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.c
  171. .c.s:
  172.     $(CC) $(INCLUDES) -S $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $*.c
  173. .S.o:
  174.     $(CC) $(INCLUDES) -c $(INCDIRS) $(CFLAGS) $(X_CFLAGS) $(DEBUGFLAGS) $*.S
  175.  
  176. # Saves recompiling...
  177. touch:
  178.     touch *.o; touch build68k; touch cpudefs.c; touch cpudefs.o; touch gencpu genblitter; touch cpu?.c cpu*tbl.[ch]; touch cpu?.o cpu*tbl.o
  179.  
  180. # Some more dependencies...
  181. cpustbl.o: cputbl.h
  182. cputbl.o: cputbl.h
  183.  
  184. build68k.o: include/readcpu.h
  185. readcpu.o: include/readcpu.h
  186.  
  187. main.o: config.h
  188. cia.o: config.h include/events.h
  189. custom.o: config.h include/events.h
  190. newcpu.o: config.h include/events.h
  191. autoconf.o: config.h
  192. expansion.o: config.h
  193. xwin.o: config.h
  194. svga.o: config.h
  195. bebox.o: config.h
  196. os.o: config.h
  197. memory.o: config.h
  198. debug.o: config.h
  199. ersatz.o: config.h
  200. disk.o: config.h include/events.h
  201. blitter.o: config.h include/events.h
  202. 
  203.